Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce flake8 max-line-length #3131

Merged
merged 4 commits into from
Mar 5, 2024
Merged

Conversation

Insharamin12
Copy link
Contributor

Description

Reduced flake8 maximum length from 155 to 154 and changed some line exceeding the maximum line length.

Changed Behaviour

This won't change any functionality, it just improves the readability.

Fixes

Fixes #3105

Type of change

Choose which options apply, and delete the ones which do not apply.

  • Bug fix
  • Update to human readable text: Documentation/error messages/comments
  • Code maintenance/cleanup

@benclifford
Copy link
Collaborator

thanks for this PR - your first commit looks good. then you merged in master, where someone else had already reduced the line length to 154 (in commit #3130) in a slightly different way - so now there isn't much left of your PR! but thats ok.

so you can make the line length even smaller, to end up with a merged PR for issue #3105 - or you can move on to looking at the issues tagged outreachy: https://github.com/Parsl/parsl/issues?q=is%3Aissue+is%3Aopen+label%3Aoutreachy to look for stuff you'd like to learn more about/work on.

@Insharamin12
Copy link
Contributor Author

Thank you for the feedback, @benclifford

Sure, I'll make the further line change in the issue #3105 and then proceed to other issues tagged as outreachy.

@Insharamin12
Copy link
Contributor Author

Hey @benclifford

I made a new commit to reduce the maximum length further.
Please guide me and review the change.

@benclifford
Copy link
Collaborator

ok, mostly looks good - there are a few unnecessary empty lines added that you can see here in https://github.com/Parsl/parsl/pull/3131/files in slurm.py and in db_manager.py. Those probably come from your first bit of work on this branch where you made the first changes a little bit differently than the PR that got merged (PR #3130). It would be good to remove those changes because they make this PR look more messy than it needs to be, and that can be awkward when someone looks back through git history.

@Insharamin12
Copy link
Contributor Author

Appreciate the guidance, @benclifford
You're an amazing mentor. I've resolved the changes as per your feedback, and I hope it looks good now.

Thank you.

@benclifford benclifford merged commit 86a05dd into Parsl:master Mar 5, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Outreachy: getting familiar with the development environment
3 participants